<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="fileCodeForm.title"/></title>
    <%-- Calendar Setup - put in decorator if needed in multiple pages --%>
</head>

<p>Please fill in fileCode's information below:</p>
<s:form name="fileStatusSearchForm" action="getSearchFileStatus" method="post">
	<s:hidden name="filestatus.id" value="%{entity.id}"/>
    <s:textfield key="fileStatus.status" name="fileStatusName" cssClass="text title"/>
<tr>
	<td>
		&nbsp;
	</td>
	<td>
		<s:submit cssClass="button" name="search" value="%{getText('button.search.title')}" theme="simple" onclick="this.blur()"></s:submit>
    	<s:submit cssClass="button" name="cancel" value="%{getText('button.cancel.title')}" theme="simple" onclick="form.onsubmit=null"></s:submit>    
    </td>
</tr>
</s:form>

<s:set name="item" value="list" scope="request"/>
<s:set var="item_name" value="%{getText('fileStatus.item_name')}" scope="page"></s:set>
<s:set var="items_name" value="%{getText('fileStatus.items_name')}" scope="page"></s:set>
<display:table name="item" class="table" requestURI="" id="filestatusList" export="true" pagesize="10" >
	<display:setProperty name="paging.banner.item_name" value="${item_name}"/>
	<display:setProperty name="paging.banner.items_name" value="${items_name}"/>
	
    <display:column property="id" sortable="true" href="filestatus-form.html" media="html"
        paramId="fileStatusId" paramProperty="id" titleKey="fileStatus.id"/>
        
    <display:column property="status" sortable="true" titleKey="fileStatus.status" escapeXml="true"/>
</display:table>

<script type="text/javascript">highlightTableRows("filestatusList");</script>